package vip.mall.modular.orders.service;

import com.baomidou.mybatisplus.extension.service.IService;
import vip.mall.common.result.CommonPageResult;
import vip.mall.modular.comment.params.CommentPageParams;
import vip.mall.modular.orders.entity.Orders;
import vip.mall.modular.orders.params.AddOrderParams;
import vip.mall.modular.orders.params.PageOrderParams;
import vip.mall.modular.orders.vo.OrderTableVo;

import java.util.List;

/**
 * @author Asus
 * @Date 2025/2/10 15:27
 * @Descripition
 */
public interface OrdersService extends IService<Orders> {


    CommonPageResult pageList(PageOrderParams commentPageParams);

    boolean add(AddOrderParams addOrderParams);

    List<OrderTableVo> cartGet(String userId);

    boolean editCart(List<String> ids);

    void edit(OrderTableVo orders);
}
